<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.staticfile.org/echarts/4.3.0/echarts.min.js"></script>
    <style>
        body{
            background: url(img/img2.jpg)
         /*   background-color: url(../JqSite/imgs/bk.jpg) no-repeat;*/
        }
        h1{
            text-align: center;
            margin-bottom: 50px;
            color: #333;
        }
        .content{
            margin: 0px auto;
            float: left;
            text-align: center;
            border-bottom: 1px solid grey;
        }
        .container{
            margin: 0 auto;
            width: 85%;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.7);

        }

      /*  @media screen and (max-width: 960px) {
            body {
             background-color: aqua;
            }
        }
        @media screen and (max-width: 768px) {
            body {
             background-color: orange;
            }
        }
        @media screen and (max-width: 550px) {
            body {
             background-color: blue;
            }
        }*/
        /*媒体查询宽度为960x的 还有and后面必须加空格*/
        @media only screen and (max-width:640px){
            .content{
                width: 100%;
            }
        }
        @media only screen and (min-width:640px) and (max-width: 960px){
            .content{
                width: 50%;
            }
        }
        @media only screen and (min-width:640px) and (max-width: 960px){
            .content{
                width: 25%;
            }
        }
    </style>
</head>
<body>
    <h1>再别康桥</h1>
    <hr/>
    <div class="container">
        <div class="content">
            <p>轻轻的我走了,</p>
            <p>正如轻轻的来，</p>
            <p>我轻轻的招手</p>
            <p>作别西边的云彩 </p>
        </div>
        <div class="content">
            <p>轻轻的我走了,</p>
            <p>正如轻轻的来，</p>
            <p>我轻轻的招手</p>
            <p>作别西边的云彩 </p>
        </div>
        <div class="content">
            <p>轻轻的我走了,</p>
            <p>正如轻轻的来，</p>
            <p>我轻轻的招手</p>
            <p>作别西边的云彩 </p>
        </div>
        <div class="content">
            <p>轻轻的我走了,</p>
            <p>正如轻轻的来，</p>
            <p>我轻轻的招手</p>
            <p>作别西边的云彩 </p>
        </div>
        <div style="clear:both;"></div>
    </div>
</body>
</html>